# 重写命名空间，最好还是运行helm时指定 -n
namespaceOverride: "{{ item.nameSpace }}"

controller:
  ingressClass: {{ item.name }}
  ingressClassByName: true
  ingressClassResource:
    name: {{ item.name }}
    enabled: true
    controllerValue: "k8s.io/{{ item.name }}"

  service:
    type: NodePort
    enableHttp: true
    enableHttps: false
    nodePorts:
      http: {{ item.nodePort }}

      
  # 使用拷贝镜像
  image:
    registry: registry.cn-hangzhou.aliyuncs.com
    image: kongxin/controller
    tag: "v1.9.6"
    digest: ""
    digestChroot: ""
  admissionWebhooks:
    patch:
      image:
        registry: registry.cn-hangzhou.aliyuncs.com
        image: kongxin/kube-webhook-certgen
        tag: v20231226-1a7112e06
        digest: ""